﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Animals
{
    class Animals
    {
        static void Main()
        {

            Frog jabcho = new Frog(12, "jabcho", "male");
            Dog murdjo = new Dog(11, "Murdjo", "male");
            Kitten asd = new Kitten(12, "asd");

            ISoundable[] animals = new ISoundable[]
            {
            new Frog(12, "jabcho", "male"),
            new Dog(11, "Murdjo", "male"),
            new Kitten(12, "Fluffy"),
            new Tomcat(33, "Bqs"),
            new Frog(4, "Kermit", "male")
            };

            foreach (ISoundable animal in animals)
            {
                animal.MakeSound();
            }

        }
    }
}
